wayland: require WAYLAND_DISPLAY be set to open wayland display
authorRay Strode <rstrode@redhat.com>
Fri, 14 Aug 2015 14:23:31 +0000 (10:23 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 14 Aug 2015 14:28:31 +0000 (10:28 -0400)
commit35489f5d31b20a390b45803d760f965391d0b57f
tree1e49400e7d4affeea85a72770e5c7c8c5199f9dd
parent4a26366ff2791b28c3f102cdb4a0a31bdaf42f5d
wayland: require WAYLAND_DISPLAY be set to open wayland display

The wayland client libraries now require WAYLAND_DISPLAY be set
to use them.

See:

http://cgit.freedesktop.org/wayland/wayland/commit/?id=fb7e13021730d0a5516ecbd3712ea4235e05d24d

This commit makes _gdk_wayland_display_open bail early if
WAYLAND_DISPLAY is unset, just as it does for XDG_RUNTIME_DIR.
gdk/wayland/gdkdisplay-wayland.c